package top.csjss.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.csjss.domain.GoodsDetail;
import top.csjss.mapper.GoodsDetailMapper;
import top.csjss.service.GoodsDetailService;

import java.util.List;

/**
 * @Author ztf
 * @Date 16:01 2021/10/7
 **/
@Service
public class GoodsDetailServiceImpl implements GoodsDetailService {
    @Autowired
    private GoodsDetailMapper goodsDetailMapper;

    @Override
    public List<GoodsDetail> findBySortId(Integer sortId) {
        return goodsDetailMapper.selectBySortId(sortId);
    }
}
